package com.gsh.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class HelloController {
    //接口：http://localhost:8080/hello/hello
    @RequestMapping("/hello")
    public String hello(){
        System.out.println("jinqule");
        return "hello World";
    }
}
